package test2;

public abstract class Phone {
    public void use(){
        System.out.println("打电话");
        System.out.println("发短信");
    }
}
interface Game{
    public abstract void playGame();
}
class Coolpad extends Phone implements Game{
    @Override
    public void use() {
        System.out.println("打电话");
        System.out.println("发短信");
        System.out.println("玩游戏");
    }
    @Override
    public void playGame() {

    }

    public static void main(String[] args) {
        Coolpad a=new Coolpad();
        a.use();
    }
}

